Add a test involving ranges
authorMatthias Clasen <mclasen@redhat.com>
Sun, 19 Jun 2011 21:58:57 +0000 (17:58 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 5 Jul 2011 20:07:59 +0000 (16:07 -0400)
tests/a11y/Makefile.am
tests/a11y/range.txt [new file with mode: 0644]
tests/a11y/range.ui [new file with mode: 0644]

index 0a07f19ab17b1f9de1875eed226ad24ed083d7aa..9f9f81f33791b565a6d82f10b21f26364e1cc675 100644 (file)
@@ -25,4 +25,5 @@ EXTRA_DIST += \
        hello-world.ui hello-world.txt \
        mnemonic.ui mnemonic.txt \
        accessible-name.ui accessible-name.txt \
-       notebook.ui notebook.txt
+       notebook.ui notebook.txt \
+       range.ui range.txt
diff --git a/tests/a11y/range.txt b/tests/a11y/range.txt
new file mode 100644 (file)
index 0000000..9e5de7d
--- /dev/null
@@ -0,0 +1,20 @@
+window1
+  "window"
+  index: 0
+  state: enabled resizable sensitive showing visible
+  toolkit: gail
+  scale1
+    "slider"
+    parent: window1
+    index: 0
+    state: enabled focusable horizontal sensitive showing visible
+    toolkit: gail
+    text: ?45.5
+    character count: 5
+    caret offset: 0
+    default attributes: left-margin:0 right-margin:0 indent:0 invisible:false editable:false pixels-above-lines:0 pixels-below-lines:0 pixels-inside-wrap:0 bg-full-height:0 scale:1 rise:0 underline:none strikethrough:false bg-stipple:false fg-stipple:false fg-color:0,0,0 bg-color:56540,56026,54741 wrap-mode:word justification:left size:<omitted> weight:<omitted> family-name:<omitted> stretch:<omitted> variant:<omitted> style:<omitted> language:<omitted> direction:<omitted>
+    action 0 name: activate
+    minimum value: 0.5
+    maximum value: 99.5
+    current value: 45.5
+    minimum increment: 0.5
diff --git a/tests/a11y/range.ui b/tests/a11y/range.ui
new file mode 100644 (file)
index 0000000..21dee12
--- /dev/null
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+  <!-- interface-requires gtk+ 3.0 -->
+  <object class="GtkAdjustment" id="adjustment1">
+    <property name="lower">0.5</property>
+    <property name="upper">99.5</property>
+    <property name="page-size">0</property>
+    <property name="value">45.5</property>
+    <property name="step-increment">0.5</property>
+    <property name="page-increment">5.0</property>
+  </object>
+  <object class="GtkWindow" id="window1">
+    <property name="can_focus">False</property>
+    <property name="type">popup</property>
+    <child>
+      <object class="GtkScale" id="scale1">
+        <property name="visible">True</property>
+        <property name="can_focus">True</property>
+        <property name="adjustment">adjustment1</property>
+      </object>
+    </child>
+  </object>
+</interface>